
*************************
* Table 9, columns 1-4
*************************

use "firm_data.dta", clear

reghdfe d_interest d_interest_lag c.ts_lag##c.spread_lag, absorb(firm year) cluster(industryyear)
reghdfe d_empl d_empl_lag c.ts_lag##c.spread_lag, absorb(firm year) cluster(industryyear)
reghdfe d_capital d_capital_lag c.ts_lag##c.spread_lag, absorb(firm year) cluster(industryyear)
reghdfe d_tfp d_tfp_lag c.ts_lag##c.spread_lag, absorb(firm year) cluster(industryyear)


*************************
* Table 9, columns 5-6
*************************

use "industry_data.dta", clear

reghdfe d_tfp_industry d_tfp_industry_lag c.spread_lag##c.industryts_lag, absorb(industry year) cluster(industry) 
reghdfe sd_tfp_industry sd_tfp_industry_lag c.spread_lag##c.industryts_lag, absorb(industry year) cluster(industry) 
